package com.ganeshkrishnan.globald.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.ganeshkrishnan.globald.abstracts.BaseObject;

@Entity
public class Nomination extends BaseObject {
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;
	private int					ID;
	//ID of person who has filed the Nomination  
	private Long				PersonID;
	//Position of the filed Nomination
	private int					Position;
	//Type of nomination filed. For this version always 1 (Govt)
	private int					PosType				= 1;
	//Date when the nomination was filed
	private Date				PosAppliedDate;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public Long getPersonID() {
		return PersonID;
	}

	public void setPersonID(Long personID) {
		PersonID = personID;
	}

	public int getPosition() {
		return Position;
	}

	public void setPosition(int position) {
		Position = position;
	}

	public int getPosType() {
		return PosType;
	}

	public void setPosType(int posType) {
		PosType = posType;
	}

	public Date getPosAppliedDate() {
		return PosAppliedDate;
	}

	public void setPosAppliedDate(Date posAppliedDate) {
		PosAppliedDate = posAppliedDate;
	}

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}
}
